Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trial rebuilds #239

Merged
merged 2 commits into from
Feb 16, 2024
Merged

Fix trial rebuilds #239

merged 2 commits into from
Feb 16, 2024

Conversation

joverlee521
Copy link
Contributor

@joverlee521 joverlee521 commented Feb 15, 2024

Description of proposed changes

Fix trial rebuilds for phylogenetic workflows by setting config overrides and sending trial build messages to the testing Slack channel (#scratch).

Related issue(s)

Follow up to

Checklist

@tsibley flagged internally¹ that a trial build for mpxv² did not work
as expected.

The trial build did not work for a couple reasons:
1. the `TRIAL_NAME` envvar was not ported over to be provided as an env
input when we switched to the pathogen-repo-build workflow³
2. the default deploy_url was updated to "s3://nextstrain-data" in the
nextstrain_automation.yaml⁴ but was not configured for the trial builds

This commit fixes both by creating a separate job to configure the
config overrides needed for trial builds.

¹ https://bedfordlab.slack.com/archives/C03J4JG4ZE0/p1707781980142229?thread_ts=1707780683.405599&cid=C03J4JG4ZE0
² https://github.com/nextstrain/mpox/actions/runs/7879309419
³ 7e5cc674017f51
Instead of mixing in trial builds Slack messages with the automated
builds, send the Slack messages to the `TEST_SLACK_CHANNEL` set in
the repo's action variables¹ (currently the #scratch channel).

¹ https://github.com/nextstrain/mpox/settings/variables/actions
@joverlee521 joverlee521 requested a review from a team February 15, 2024 22:45
@joverlee521
Copy link
Contributor Author

Going to merge this pre-review since test trial builds all worked as expected. I will be using them for #238.
Welcome to any post-merge review!

@joverlee521 joverlee521 merged commit 3f2a361 into master Feb 16, 2024
35 checks passed
@joverlee521 joverlee521 deleted the fix-trial-rebuilds branch February 16, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant